home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
prg_casm
/
snpd9611.zip
/
SNIP_STR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-24
|
2KB
|
60 lines
.I 0 3
/* +++Date last modified: 24-Nov-1996 */
/*
.D 1 1
.I 8 1
#include <string.h> /* For strncpy() & memmove() */
.I 9 1
#include "extkword.h" /* For FAR */
.I 29 1
#define strMove(d,s) memmove(d,s,strlen(s)+1)
.D 30 1
.I 34 3
**
** Note: If compiling strictly conforming ANSI/ISO standard C code, the
** function names are modified to be compliant.
.I 37 20
#define memmem memMem
#define strchcat strChcat
#define strdel strDel
#define strdelch strDelch
#define strdup strDup
#define strecpy strEcpy
#define stristr strIstr
#define strrepl strRepl
#define strrev strRev
#define strrpbrk strRpbrk
#define strupr strUpr
#define strlwr strLwr
#endif
#if defined(__cplusplus) && __cplusplus
extern "C" {
#endif
void *memmem(const void *buf, const void *pattern, /* Memmem.C */
size_t buflen, size_t len);
.D 38 8
.I 50 3
char *strchcat(char *string, int ch, size_t buflen); /* Strchcat.C */
char *strdel(char *string, size_t first, size_t len); /* Strdel.C */
char *strdelch(char *string, const char *lose); /* Strdelch.C */
.D 51 3
.I 54 4
char *strecpy(char *target, const char *src); /* Strecpy.C/Asm */
char *stristr(const char *String, /* Stristr.C */
const char *Pattern);
char *strrepl(char *Str, size_t BufSiz,
.D 55 3
.I 73 9
#if defined(MSDOS) || defined(__MSDOS__)
void FAR *fmemmem(const void FAR *buf, /* Fmemmem.C */
const void FAR *pattern, long buflen, long len);
#endif
#if defined(__cplusplus) && __cplusplus
}
#endif